Dynamical Analysis of the Parametrized Lehmer-Euclid Algorithm
نویسندگان
چکیده
The Lehmer–Euclid Algorithm is an improvement of the Euclid Algorithm when applied to large integers. The original Lehmer–Euclid Algorithm replaces divisions on multi-precision integers by divisions on single-precision integers. Here we study a slightly different algorithm that replaces computations on n-bit integers by computations on μn-bit integers. This algorithm depends on the truncation degree μ ∈]0, 1[ and is denoted as the LEμ algorithm. The original Lehmer–Euclid Algorithm can be viewed as the limit of the LEμ algorithms for μ → 0. We provide here a precise analysis of the LEμ algorithm. For this purpose, we are led to study what we call the Interrupted Euclid Algorithm . This algorithm depends on some parameter α ∈ [0, 1] and is denoted by Eα. When running with an input (a, b), it performs the same steps as the usual Euclid Algorithm, but it stops as soon as the current integer is smaller than a, so that E0 is the classical Euclid Algorithm. We obtain a very precise analysis of the algorithm Eα, and describe the behaviour of main parameters (number of iterations, bit complexity) as a function of parameter α. Since the Lehmer– Euclid Algorithm LEμ when running on n-bit integers can be viewed as a sequence of executions of the Interrupted Euclid Algorithm E1/2 on μn-bit integers, we then come back to the analysis of the LEμ algorithm and obtain our results.
منابع مشابه
Multidimensional Greatest Common Divisor and Lehmer Algorithms
A class of multidimensional greatest common divisor algorithms is studied. Their connection with the Jacobi algorithm is established and used to obtain theoretical properties such as the existence of digit frequencies. A technique of D. H. Lehmer's for Euclid's algorithm is generalized for efficient computation of the multidimensional algorithms. For triples of integers, two algorithms of inter...
متن کاملThe Brun gcd algorithm in high dimensions is almost always subtractive
We introduce and study an algorithm which computes the gcd of d+1 entries. This is a natural extension of the usual Euclid algorithm, and coincides with it for d = 1; it performs Euclidean divisions, between the largest entry and the second largest entry, and then re-orderings. This is the discrete version of a multidimensional continued fraction algorithm due to Brun, in d dimensions. We perfo...
متن کاملAnalysis of Fast Versions of the Euclid Algorithm
There exist fast variants of the gcd algorithm which are all based on principles due to Knuth and Schönhage. On inputs of size n, these algorithms use a Divide and Conquer approach, perform FFT multiplications and stop the recursion at a depth slightly smaller than lg n. A rough estimate of the worst–case complexity of these fast versions provides the bound O(n(log n) log logn). However, this e...
متن کاملSharp Estimates for the Main Parameters of the Euclid Algorithm
We provide sharp estimates for the probabilistic behaviour of the main parameters of the Euclid algorithm, and we study in particular the distribution of the bit-complexity which involves two main parameters : digit–costs and length of continuants. We perform a “dynamical analysis” which heavily uses the dynamical system underlying the Euclidean algorithm. Baladi and Vallée [2] have recently de...
متن کاملIdentification of a Parametrized Family of Chaotic Dynamics from Time Series
In this chapter, we consider the problem of identifying an unknown parametrized family of chaotic dynamical systems from a variety of its time series data with a change in the bifurcation parameters. In an experimental situation, in which no a priori analytical knowledge of the dynamical systems is available, we present an algorithm for estimating the underlying bifurcation parameters of the ch...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Combinatorics, Probability & Computing
دوره 13 شماره
صفحات -
تاریخ انتشار 2004